package com.java.thread;

import org.junit.Test;

public class Client {
	@Test
	public void threadTest(){
		PrimeThread p = new PrimeThread(143);
		PrimeThread p2 = new PrimeThread(143);
		p.start();
		p2.start();

		PrimeRun primeRun = new PrimeRun();
		Thread t = new Thread(primeRun);
		Thread t2 = new Thread(primeRun);
		t.start();
		t2.start();
	}
}
